package com.dk.service;

import com.dk.pojo.TabCategory;
import com.dk.pojo.TabRoute;
import com.dk.pojo.TabRouteImg;
import com.dk.pojo.TabSeller;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RouteService {
    PageInfo<TabRoute> selectByname(String rname, Integer rflag, Integer pageNumber, Integer pageSize);

    List<TabSeller> select();

    List<TabCategory> selectTable();

    boolean insertinto(TabRoute tabRoute);

    TabRoute selectByrid(Integer rid);

    boolean updateInfo(TabRoute tabRoute);

    boolean deleteByid(Integer id);


    boolean addimginfo(String[] split, TabRouteImg t);
}
